/**
 * video progress event
 * Copyright (c) 2009 cmiscm.com
 * date of final modification : 2009. 11. 20 
*/
package com.cmiscm.videos.events
{
	import flash.events.Event;

	public class VideoProgressEvent extends Event
	{
		public static const CHANGE_PRECENT:String = "change_precent";
		
		public var progress:Number;
		public var buffer:Number;
		
		public function VideoProgressEvent(type:String, $progress:Number, $buffer:Number, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.progress = $progress;
			this.buffer = $buffer;
		}
		
		override public function clone():Event
		{
			return new VideoProgressEvent(this.type, this.progress, this.buffer, this.bubbles, this.cancelable);
		}
	}
}